package com.wsoft.bpm.query.node;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Author zhonglj
 * @Date 2024/12/23 20:13
 */
@Getter
@Setter
@Accessors(chain = true)
public class DefaultBaseNode implements BaseNode {
    @Schema(description = "唯一标识")
    private String id;
    @NotBlank(message = "模型id不能为空!")
    @Schema(description = "模型id")
    private String modelId;
    @Schema(description = "是否通过验证")
    private boolean validated;
}
